<?php

// user roles definition here -- would possibly need to add more later
define("SHMSR_RESIDENT","shearitee");
define("SHMSR_CHAIR_PERSON","chair_person");
define("SHMSR_JCRC_MEMBER","jcrc_member");
define("SHMSR_JCRC_PRESIDENT","jcrc_president");

// permission def
define("SHMSP_RESIDENT","resident permission");
define("SHMSP_PRESIDENT","president permission");
define("SHMSP_JCRC","JCRC permission");


// table name define
define("SHMS_PERSON_TABLE","shms_person");
define("SHMS_PERSON_BY_YEAR_TABLE","shms_person_by_year");

define("SHMS_EVENT_TABLE","shms_event");
define("SHMS_EVENT_ATTENDANCE","shms_person_event");

define("SHMS_GROUP_TABLE","shms_group");
define("SHMS_GROUP_BY_YEAR_TABLE","shms_group_by_year");
define("SHMS_PERSON_GROUP_TABLE","shms_person_group_by_year");

// TODO: facility booking

// table content constants
  // status info
define("SHMS_STATUS_ACTIVE",1);
define("SHMS_STATUS_ALUMI",2);

define("SHMS_GENDER_MALE",0);
define("SHMS_GENDER_FEMALE",1);

define("SHMS_ROOM_ACADEMIC_YEAR_FULL",0);
define("SHMS_ROOM_ACADEMIC_YEAR_UPPER",1);
define("SHMS_ROOM_ACADEMIC_YEAR_LOWER",2);

define("SHMS_CCA_ASSIGNABLE",1);


// path info
define("SHMS_PERSON_PATH",'person');
define("SHMS_CCA_PATH",'cca');
define("SHMS_EVENT_PATH",'event');

define("SHMS_PERSON_AUTO_COMPLETE_SIZE_TERM","shms_person_auto_complete_size");
